package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:Hospital.java
 * @description	:医院
 * @author		:mazhaoyan
 * @date		:2015年4月2日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
@Entity
@Table(name="T_HOSPITAL", schema = "DRGs")
public class Hospital extends KoalaLegacyEntity {

	private static final long serialVersionUID = 2902770556249519987L;

	/**
	 * 空构造函数
	 */
	public Hospital() {
		super();
	}

	
	/**
	 * @param hospCode 医院代码	
	 * @param hospName  医院名称
	 * @param hospNameShort  医院简称
	 */
	public Hospital(String hospCode, String hospName, String hospNameShort) {
		super();
		this.hospCode = hospCode;
		this.hospName = hospName;
		this.hospNameShort = hospNameShort;
	}


	//医院代码	
	@Id
	@Column(name = "HOSP_CODE",nullable=false)
	private String hospCode;
	
	//医院名称
	@Column(name = "HOSP_NAME",nullable=false)
	private String hospName;
	
	//医院简称
	@Column(name = "HOSP_NAME_SHORT")
	private String hospNameShort;


	public String getHospCode() {
		return hospCode;
	}


	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}


	public String getHospName() {
		return hospName;
	}


	public void setHospName(String hospName) {
		this.hospName = hospName;
	}


	public String getHospNameShort() {
		return hospNameShort;
	}


	public void setHospNameShort(String hospNameShort) {
		this.hospNameShort = hospNameShort;
	}


	/* (non-Javadoc)
	 * @see org.dayatang.domain.Entity#getId()
	 */
	@Override
	public Serializable getId() {
		return null;
	}

	/* (non-Javadoc)
	 * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()
	 */
	@Override
	public String[] businessKeys() {
		return null;
	}

}
